

import '../../../../net/fm_base_net_domain.dart';
import '../../../../net/fm_http_request.dart';
import '../../../../net/fm_net_param_manager.dart';

class FMSavePersonalApi extends FMBaseNetDomain {

  Map<String, dynamic> params;

  FMSavePersonalApi({
    required this.params
  });

  @override
  String requestUrl() {
    return FMNetParamManager().getDefaultUrlPath("/directs/necessary");
  }

  @override
  FMHttpMethodType methodType() {
    return FMHttpMethodType.post;
  }

  @override
  Map<String, dynamic> requestParams() {
    return params;
  }
}